package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-06-02
 */
public class JqzzPartsMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer tid;
    /**
     * 部件名字
     */
    private String name;
    @TableField(exist = false)
    private String nameName;
    private String type;
    private String code;
    private Integer num;
    @TableField("isAssembly")
    private Integer isAssembly;

    public String getNameName() {
        return nameName;
    }

    public void setNameName(String nameName) {
        this.nameName = nameName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getIsAssembly() {
        return isAssembly;
    }

    public void setIsAssembly(Integer isAssembly) {
        this.isAssembly = isAssembly;
    }

    @Override
    public String toString() {
        return "JqzzPartsMaterial{" +
        "id=" + id +
        ", tid=" + tid +
        ", name=" + name +
        ", type=" + type +
        ", code=" + code +
        ", num=" + num +
        ", isAssembly=" + isAssembly +
        "}";
    }
}
